package cn.tedu.charging.role.service;

import cn.tedu.charging.common.pojo.po.RoleStaff;
import cn.tedu.charging.common.pojo.vo.RoleVO;
import cn.tedu.charging.common.pojo.param.RoleQuery;
import cn.tedu.charging.role.pojo.param.RoleSaveParam;

import java.util.List;

public interface RoleService {
    List<RoleVO> selectRole(RoleQuery roleQuery);

    void saveRole(RoleSaveParam roleSaveParam);

    void deleteRole(Long roleId);

    List<RoleStaff> selectRoleStaff(RoleStaff roleStaff);

    void deleteRoleStaff(Long roleId, Long staffId);

    void addRoleStaff(Long roleId, Long staffId);

    void updateStatus(Long roleId, String status);

    List<RoleVO> selectUnBindPerm(Long staffId);
}
